package com.yy.QSManage.model.dto;

import com.yy.QSManage.model.entity.FaSysMember;
import com.yy.QSManage.model.entity.gen.FaSysMenuView;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
public class LoginResultDto implements Serializable {

    /**
     * 用户信息
     */
    @ApiModelProperty(value="用户信息")
    private FaSysMember member;

    /**
     * token
     */
    @ApiModelProperty(value="token")
    private String token;

    /**
     * 菜单权限
     */
    @ApiModelProperty(value="菜单权限")
    private List<FaSysMenuView> menuTree;
}
